﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Collections.Generic;

namespace Ccit.OA.MsQuestion
{
    /// <summary>
    /// Qst_A1(调查问卷信息表)
    /// </summary>
    public class MsQuestionMes
    {
        #region 私有属性              
        private string _id;             //id
        private string _title;          //问卷标题
        private string _explain;        //问卷说明
        private string _rangemark;      //调查范围标志
        private string _range;          //调查范围
        private string _pubrangemark;   //公布范围标志
        private string _pubrange;       //公布范围
        private string _type;           //填报类型id
        private string _typename;       //填报类型名称
        private string _begintime;      //开始时间
        private string _endtime;        //截止时间
        private string _state;          //状态
        private string _ucount;         //阅读人数
       
        #endregion
        #region 共有属性
        /// <summary>
        /// id
        /// </summary>
        public string id
        {
            set { _id = value; }
            get { return ((!string.IsNullOrEmpty(_id)) ? _id : ""); }
        }
        /// <summary>
        /// 标题
        /// </summary>
        public string title
        {
            set { _title = value; }
            get { return ((!string.IsNullOrEmpty(_title)) ? _title : ""); }
        }
        /// <summary>
        /// 问卷说明
        /// </summary>
        public string explain
        {
            set { _explain = value; }
            get { return ((!string.IsNullOrEmpty(_explain)) ? _explain : ""); }
        }
        /// <summary>
        /// 调查范围标志
        /// </summary>
        public string rangemark
        {
            set { _rangemark = value; }
            get { return ((!string.IsNullOrEmpty(_rangemark)) ? _rangemark : ""); }
        }
        /// <summary>
        /// 调查范围
        /// </summary>
        public string range
        {
            set { _range = value; }
            get { return ((!string.IsNullOrEmpty(_range)) ? _range : ""); }
        }
        /// <summary>
        /// 公布范围标志
        /// </summary>
        public string pubrangemark
        {
            set { _pubrangemark = value; }
            get { return ((!string.IsNullOrEmpty(_pubrangemark)) ? _pubrangemark : ""); }
        }
        /// <summary>
        /// 公布范围
        /// </summary>
        public string pubrange
        {
            set { _pubrange = value; }
            get { return ((!string.IsNullOrEmpty(_pubrange)) ? _pubrange : ""); }
        }
        /// <summary>
        /// 填报类型
        /// </summary>
        public string type
        {
            set { _type = value; }
            get { return ((!string.IsNullOrEmpty(_type)) ? _type : ""); }
        }
        /// <summary>
        /// 填报类型
        /// </summary>
        public string typename
        {
            set { _typename = value; }
            get { return ((!string.IsNullOrEmpty(_typename)) ? _typename : ""); }
        }
        /// <summary>
        /// 开始时间
        /// </summary>
        public string begintime
        {
            set { _begintime = value; }
            get { return ((!string.IsNullOrEmpty(_begintime)) ? _begintime : ""); }
        }
        /// <summary>
        /// 结束时间
        /// </summary>
        public string endtime
        {
            set { _endtime = value; }
            get { return ((!string.IsNullOrEmpty(_endtime)) ? _endtime : ""); }
        }
        /// <summary>
        /// 状态
        /// </summary>
        public string state
        {
            set { _state = value; }
            get { return ((!string.IsNullOrEmpty(_state)) ? _state : ""); }
        }
        /// <summary>
        /// 阅读人数
        /// </summary>
        public string ucount
        {
            set { _ucount = value; }
            get { return ((!string.IsNullOrEmpty(_ucount)) ? _ucount : ""); }
        }
       
        #endregion
        #region method
        public  MsQuestionMes()
        {}
        public MsQuestionMes(string sId,string sTitle,string sExplain,string sRangeMark,string sRange,string sPubRangeMark
                            ,string sPubRange,string sType,string sTypeName,string sBeginTime,string sEndTime,string sState,string sUCount)
        {
                 _id = sId;             //id
                 _title = sTitle;          //问卷标题
                 _explain = sExplain;        //问卷说明
                 _rangemark = sRangeMark;      //调查范围标志
                 _range = sRange;          //调查范围
                 _pubrangemark = sPubRangeMark;    //公布范围标志
                 _pubrange = sPubRange;       //公布范围
                 _type = sType;           //填报类型id
                 _typename = sTypeName;       //填报类型名称
                 _begintime = sBeginTime;      //开始时间
                 _endtime = sEndTime;        //截止时间
                 _state = sState;          //状态
                 _ucount = sUCount;
        }
        #endregion
    }
}
